package com.geekaca.test;

public class UserService {
    public boolean isLoginOk(String loginName, String passWord) {
        if("admin".equals(loginName) && "123456".equals(passWord)){
            return  true;
        }else {
            return false;
        }
    }

    public String getUsername(String userId){
        return "Tom";
    }
}
